package com.zrc.superframe_ui.stateview

import android.content.Context
import android.view.LayoutInflater
import android.view.View

/**
 * @Author: superman
 * @CreateTime: 6/27/21
 * @Describe: 开源来至Zhao-Yan-Yan(https://github.com/Zhao-Yan-Yan/MultiStatePage) 再此表示感谢
 */
abstract class MultiState {

    /**
     * 创建stateView
     */
    abstract fun onCreateMultiStateView(
        context: Context,
        inflater: LayoutInflater,
        container: MultiStateContainer
    ): View

    /**
     * stateView创建完成
     */
    abstract fun onMultiStateViewCreate(view: View)
}